package xyz.ddlnt.servicemq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.ddlnt.model.dto.UserContentInteractionDTO;
import xyz.ddlnt.model.entity.PrivateMessageList;

import java.util.Map;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/26 19:44
 */
public interface PrivateMessageListService extends IService<PrivateMessageList> {
    /**
     * 更新接收方（用户）状态为已删除
     * @param userContentInteractionDTO
     */
    void receiverStatusDelete(UserContentInteractionDTO userContentInteractionDTO);

    /**
     *  toSid未读消息+1
     * @param map
     */
    void unreadMessagesPlusOne(Map<String, String> map);
}
